(0) Obligation:
Runtime Complexity TRS:
The TRS R consists of the following rules:
exp(x, 0) → s(0)
exp(x, s(y)) → *(x, exp(x, y))
*(0, y) → 0
*(s(x), y) → +(y, *(x, y))
-(0, y) → 0
-(x, 0) → x
-(s(x), s(y)) → -(x, y)
Rewrite Strategy: FULL
(1) DecreasingLoopProof (EQUIVALENT transformation)
The following loop(s) give(s) rise to the lower bound Ω(2n):
The rewrite sequence
exp(s(x35_1), s(y)) →+ +(exp(s(x35_1), y), *(x35_1, exp(s(x35_1), y)))
gives rise to a decreasing loop by considering the right hand sides subterm at position [0].
The pumping substitution is [y / s(y)].
The result substitution is [ ].
The rewrite sequence
exp(s(x35_1), s(y)) →+ +(exp(s(x35_1), y), *(x35_1, exp(s(x35_1), y)))
gives rise to a decreasing loop by considering the right hand sides subterm at position [1,1].
The pumping substitution is [y / s(y)].
The result substitution is [ ].
(2) BOUNDS(2^n, INF)